package com.jvup.gameshow.controller;

import android.view.View;

import com.jvup.common.support.base.EventController;
import com.jvup.common.constant.Navigation;
import com.jvup.gameshow.fragment.UserCenterFragment;
import com.qire.antsrouter.AntsRouter;
import com.qire.antsrouter.card.FloorCard;

public class UserCenterController extends EventController<UserCenterFragment> {

    public UserCenterController(UserCenterFragment lifecycleOwner) {
        super(lifecycleOwner);
    }

    @Override
    protected void bindView() {
        owner.viewDataBinder().setUserCenterController(this);
    }

    public void loginOnClick(View view){
        AntsRouter.ROUTER.<FloorCard>buildCard(Navigation.Page.LoginGuidePage).navigation();
    }

    public void systemSetupBtnOnClick(View view) {
        AntsRouter.ROUTER.<FloorCard>buildCard(Navigation.Page.SystemSetupPage).navigation();
    }

}
